<!-- S BOM Modal -->
<nz-modal
  nzClassName="custom-model-wrap"
  [nzFooter]="null"
  [nzWidth]="420"
  [(nzVisible)]="isBomVisible"
  [nzTitle]="'提示'"
  (nzOnCancel)="isBomVisible = false">

  <div *nzModalContent>
    <div class="custom-model-body">
      <nz-form-item>
        <nz-form-label [nzSpan]="5">采购倍数</nz-form-label>
        <nz-form-control [nzSpan]="19">
          <nz-input-number
            style="width: 100%;"
            [nzMin]="1"
            [nzMax]="99999"
            [nzStep]="1"
            [nzPrecision]="0"
            nzPlaceHolder="请输入采购倍数"
            [(ngModel)]="bomNumber"
          ></nz-input-number>
        </nz-form-control>
      </nz-form-item >
    </div>

    <div class="custom-model-foot">
      <div class="custom-foot-cont">
        <button nz-button nzType="primary" [disabled]="subDisabled" (click)="sumitBom(0)">仅采购BOM</button>
        <button nz-button nzType="primary" [disabled]="subDisabled" (click)="sumitBom(1)">采购本品和BOM</button>
      </div>
    </div>
  </div>
</nz-modal>
<!-- S BOM Modal -->